//
//  XMLProductInformationShow.h
//  ppkc2016
//
//  Created by 拼凑的断音 on 16/4/6.
//  Copyright © 2016年 拼凑的断音. All rights reserved.
//

#import "NormalReturnModel.h"

@interface XMLProductInformationShowModel : NormalReturnModel

@property (nonatomic,strong) NSString* goods_id;   /**< 收藏的展品id*/

@property (nonatomic,strong) NSString* goods_photo; /**< 展品图片*/

@property (nonatomic,strong) NSString* goods_index; /**< 展品索引*/

@property (nonatomic,strong) NSString* cpname; /**< 公司中文名*/

@property (nonatomic,strong) NSString* cpname_en; /**< 公司英文名*/

@property (nonatomic,strong) NSString* goods_name; /**< 展品名称*/

@property (nonatomic,strong) NSString* regflag; /**< 是否被注册*/

@end


@interface XMLProductInformationShowModelArray : NormalReturnModel

@property (nonatomic) NSMutableArray<XMLProductInformationShowModel *> *list;

/**
 *  获取产品展示列表
 *
 *  @param completion block
 */
+(void)sendRequestToGetProductInformationShowListWithListCount:(NSInteger)count completion:(void (^)(BOOL isSuccess, XMLProductInformationShowModelArray *model))completion;

/**
 *  获取收藏展品展示列表
 *
 *  @param count count
 *  @param block block
 */
+(void)requestProductCollectListWithListCount:(NSInteger)count completion:(void(^)(BOOL isSuccess,NSMutableArray <XMLProductInformationShowModel*> *datalist))block;

/**
 *  搜索结果列表展示
 *
 *  @param key   搜索关键字
 *  @param type  搜索类型
 *  @param count count
 *  @param block block
 */
+(void)requestProuductSearchResultsListWithSearchKey:(NSString*)key searchType:(NSString*)type Count:(NSInteger)count completion:(void(^)(BOOL isSuccess,NSMutableArray <XMLProductInformationShowModel*> *datalist))block;

@end
